import React from 'react';
import {View,Dimensions,ScrollView,Image} from 'react-native';
import ScratchCard from './ScratchCard';
import ScratchCard2 from "./ScratchCard2";

const {width,height} = Dimensions.get('window');

export default class ScratchCardDemo extends React.Component {

  static navigationOptions = ({ navigation }) => ({
    title: `刮刮乐`,
  });

  render() {
    return (
      <View>
        <ScratchCard2
          endHref={require('./fu.jpg')}
          width={width}
          height={200}/>
      </View>
    )
  }
}
